
#ifndef UTILS_KEYBOARDSTATES
#define UTILS_KEYBOARDSTATES

enum class KeyboardState {
	Press, Release, Repeat
};

static const char* ToString(const KeyboardState state) {
	switch (state) {
		default: return "";
		case KeyboardState::Press:		return "Press";
		case KeyboardState::Release:	return "Release";
		case KeyboardState::Repeat:		return "Repeat";
	}
}

#endif // UTILS_KEYBOARDSTATES
